@import "../../style/themes/default";
@import "../../style/mixins/index";

@backtop-prefix-cls: ~"@{ant-prefix}-back-top";

.@{backtop-prefix-cls} {
  .reset-component;
  z-index: @zindex-back-top;
  position: fixed;
  right: 100px;
  bottom: 50px;
  height: 40px;
  width: 40px;
  cursor: pointer;

  &-content {
    height: 40px;
    width: 40px;
    border-radius: 20px;
    background-color: @back-top-bg;
    color: @back-top-color;
    text-align: center;
    transition: all .3s @ease-in-out;
    overflow: hidden;

    &:hover {
      background-color: @back-top-hover-bg;
      transition: all .3s @ease-in-out;
    }
  }

  &-icon {
    margin: 12px auto;
    width: 14px;
    height: 16px;
    background: url() ~"100%/100%" no-repeat;
  }
}

@import './responsive';
